<tr>
        <th>是否开启</th>
        <td>
        <div class="radio">
<script>
var kfok = "{$parameter[kfok]}";
if(kfok > 0){
	document.write('<label><input name="parameter[kfok]" type="radio" value="1" checked="checked" /> <span>是</span></label>&nbsp;&nbsp; <label><input name="parameter[kfok]" type="radio" value="0" /> <span>否</span></label>');	
}else{
	document.write('<label><input name="parameter[kfok]" type="radio" value="1" /> <span>是</span></label>&nbsp;&nbsp; <label><input name="parameter[kfok]" type="radio" value="0" checked="checked" /> <span>否</span></label>');
}
</script>  
		</div>
        </td>
      </tr>
<tr>
    <th>图标</th>
    <td>
        <input type="hidden" name="parameter[icoimg]" id="icoimg"
               value="{$parameter[icoimg]}">
        <a href="javascript:uploadOneImage('图片上传','#icoimg');">
<script>
var icoimg = "{$parameter[icoimg]}";
if(icoimg){
	document.write('<img src="/upload/{$parameter[icoimg]}" id="icoimg-preview" width="135" style="cursor: pointer"/>');	
}else{
	document.write('<img src="/themes/admin_simpleboot3/public/assets/images/default-thumbnail.png" id="icoimg-preview" width="135" style="cursor: pointer"/>');
}
</script>      
        </a>
        <input type="button" class="btn btn-sm btn-cancel-icoimg" value="取消图片">
    </td>
</tr>
<tr>
        <th>颜色风格</th>
        <td>
            浮动条：<input id="mycp" class="form-control" type="text" name="parameter[col1]" value="{$parameter[col1]}" style="width:30%; display:inline-block" />
            主色调：<input id="mycp2" class="form-control" type="text" name="parameter[col2]" value="{$parameter[col2]}" style="width:30%; display:inline-block" />
        </td>
      </tr>
<tr>
        <th>QQ号码</th>
        <td>
        	<input class="form-control" type="text" name="parameter[qq]" value="{$parameter[qq]}" />
        	<p style="color:#999; margin-top:3px; margin-bottom:0;">多个用小写,隔开 号码与名称用|隔开</p></td>
      </tr>
<tr>
        <th>电话号码</th>
        <td>
        	<input class="form-control" type="text" name="parameter[tel]" value="{$parameter[tel]}" />
            <p style="color:#999; margin-top:3px; margin-bottom:0;">多个用小写,隔开</p></td>
      </tr>
  <tr>
    <th>二维码</th>
    <td>
        <input type="hidden" name="parameter_default[thumbnail]" id="thumbnail"
               value="{$parameter_default[thumbnail]}">
        <a href="javascript:uploadOneImage('图片上传','#thumbnail');">
<script>
var thumbnail = "{$parameter_default[thumbnail]}";
if(thumbnail){
	document.write('<img src="/upload/{$parameter_default[thumbnail]}" id="thumbnail-preview" width="135" style="cursor: pointer"/>');	
}else{
	document.write('<img src="/themes/admin_simpleboot3/public/assets/images/default-thumbnail.png" id="thumbnail-preview" width="135" style="cursor: pointer"/>');
}
</script>      
        </a>
        <input type="button" class="btn btn-sm btn-cancel-thumbnail" value="取消图片">
    </td>
</tr>